package com.moji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 网站底部基本信息表
 * </p>
 *
 * @author myg
 * @since 2024-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjBasicInfo对象", description="网站底部基本信息表")
public class MjBasicInfo extends Model<MjBasicInfo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "类型 1 天气预报 2 商业气象合作  3 气象研究 4 关于我们 5 联系我们 6 网站最底部信息 7 行业领军客户的选择")
    private Integer type;

    private Date updateTime;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "链接地址")
    private String targetUrl;

    @ApiModelProperty(value = "图片地址")
    private String pictureUrl;

    @ApiModelProperty(value = "前端需求")
    private String alt;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
